/* Copyright 2010 by Matt Van Der Westhuizen */

package org.chaoticengine.ast.model;

import org.chaoticengine.ast.pattern.Model;
import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;
import org.simpleframework.xml.core.Resolve;

/**
 * TradeGoods will be modelled as fly-weights, because the basic attributes
 * such as name and base price are the same for all users of the object, the
 * users will define additional attributes such as quantity.
 * 
 * Note that TradeGood does not need to extend the Model class, because as
 * mentioned it never changes, making that pattern useless. Classes that use
 * TradeGood will probably be models and will update their observers when the
 * quantities of TradeGood changes.
 *
 * @author Matt Van Der Westhuizen <mattpwest@gmail.com>
 */
public interface TradeGood {
    public int getId();
    public short getBasePrice();
    public String getName();
}
